wemLh

fun Number.wemLh(context: Context): Float

EN Extension for Int with dynamic scaling based on the Screen Width (wDP) (WITHOUT FONT SCALE), but in landscape orientation it acts as Screen Height (hDP). Usage example: 100.wemLh(context).